/** 
 * @file ver_log4cpp
 * @brief 
 * @author lrts
 * @date 2017-12-29
 * 
 * $Id$
 */

#include <cppunit/extensions/HelperMacros.h>

#include "unifw.h"

extern "C" 
{
    extern const mod_dscrp_t ver_log4cpp;
}

class test_log4cpp : public CPPUNIT_NS::TestFixture
{
    CPPUNIT_TEST_SUITE(test_log4cpp);
    CPPUNIT_TEST(test_log4cpp_ver            );
    CPPUNIT_TEST_SUITE_END();

public:
    test_log4cpp();
    virtual ~test_log4cpp();
    virtual void setUp();
    virtual void tearDown();
    void test_log4cpp_ver ();
};

test_log4cpp::test_log4cpp()
{
}

test_log4cpp::~test_log4cpp()
{
}

void test_log4cpp::setUp()
{
}

void test_log4cpp::tearDown()
{
}

void test_log4cpp::test_log4cpp_ver()
{
    unit_print_module(&ver_log4cpp);
    CPPUNIT_EASSERT(1, ver_log4cpp.major);
    CPPUNIT_EASSERT(1, ver_log4cpp.minor);
    CPPUNIT_EASSERT(3, ver_log4cpp.patch);
}

CPPUNIT_TEST_SUITE_REGISTRATION(test_log4cpp);

